import json,requests

def test_01(username,password):

    url = "http://yun.zenm.vip/iot/account/login/"

    header = {
        "Content-Type":"application/json"
    }

    data = {
        "username":username,
        "password":password
    }
    data_json = json.dumps(data)
    res = requests.post(url=url,data=data_json,headers=header)
    res_data = res.json()
    print(res_data)
    return res_data